<style>

    .update-pwd form {
        width: 500px;
    }

    .update-pwd .first-td {
        width: 120px;
        padding: 16px 0 0 10px;
    }

    .update-pwd .last-td {
        padding: 12px 40px 0 10px;
        width: 400px;
    }

    .update-pwd .w100p {
        width: 100%;
    }

</style>

<div i="content" class="update-pwd ui-dialog-content mt5">
    <form class="ui-dialog-content" name="updatePwdForm">
        <table width="100%">
            <tbody>
            <tr>
                <td class="first-td" align="right" valign="top"><span class="c-red">* </span>新密码：</td>
                <td class="last-td" valign="top">
                    <input class="w100p" type="password" name="pwd1" required ng-model="data.pwd1" minlength="6" maxlength="20" custom-valid-exp="data.pwd1 != data.pwd2"
                           custom-valid-exp-other="updatePwdForm.pwd2">
                    <div ng-messages="updatePwdForm.pwd1.$error"
                         ng-show="updatePwdForm.$submitted || updatePwdForm.pwd1.$touched">
                        <p class="c-red lh30" ng-message="required">密码不能为空</p>
                        <p class="c-red lh30" ng-message="custom">两次输入的密码不一致</p>
                        <p class="c-red lh30" ng-message="minlength">密码最少6位</p>
                    </div>
                </td>
            </tr>
            <tr>
                <td class="first-td" align="right" valign="top"><span class="c-red">* </span>确认新密码：</td>
                <td class="last-td" valign="top">
                    <input class="w100p" type="password" name="pwd2" required ng-model="data.pwd2" minlength="6" maxlength="20" custom-valid-exp="data.pwd1 != data.pwd2"
                           custom-valid-exp-other="updatePwdForm.pwd1">
                    <div ng-messages="updatePwdForm.pwd2.$error"
                         ng-show="updatePwdForm.$submitted || updatePwdForm.pwd2.$touched">
                        <p class="c-red lh30" ng-message="required">密码不能为空</p>
                        <p class="c-red lh30" ng-message="custom">两次输入的密码不一致</p>
                        <p class="c-red lh30" ng-message="minlength">密码最少6位</p>
                    </div>
                </td>
            </tr>
            <tr>
                <td class="first-td" align="right" valign="top"></td>
                <td class="last-td" valign="top">说明：批量修改所有租户400用户（Mysoftadmin）密码。</td>
            </tr>
            </tbody>
        </table>
    </form>
</div>